package com.heima.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VmListVo {
    private Integer id;  //Vending machine表中的id
    private Integer vmType;
    private String innerCode;
    private Integer nodeId;
    private Integer vmStatus;
    private LocalDateTime lastSupplyTime;
    private String cityCode;
    private Integer areaId;
    private Integer createUserId;
    private String createUserName;
    private String clientId;
    private Double longitudes;
    private Double latitude;
    private Integer ownerId;
    private String ownerName;
    private Integer businessId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private TypeVo type;
    private NodeVo node;
    private RegionVo region;
}
